package com.fangcun.mapper;

import com.fangcun.bean.admin.agent.response.AgentShareBenefitsRuleDetail;
import com.fangcun.entity.AgentShareBenefitsRule;

public interface AgentShareBenefitsRuleMapper {
	int deleteByPrimaryKey(Long id);

	int insert(AgentShareBenefitsRule record);

	int insertSelective(AgentShareBenefitsRule record);

	AgentShareBenefitsRule selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(AgentShareBenefitsRule record);

	int updateByPrimaryKey(AgentShareBenefitsRule record);

	AgentShareBenefitsRuleDetail selectByAgentId(Long agentId);
}